public class JudgeRole {

    public static String getOp(String roleName) {
        return EnumForRole.valueOf(roleName).op();
    }

    public static void main(String[] args) {
        System.out.println(getOp("ROOT_ADMIN"));

        System.out.println(EnumForRole.NORMAL.op());

        String code = "02";
        System.out.println(EnumForRole.getRoleEnum(code).op());
    }

}
